package com.fc.advbox.service;

import com.fc.advbox.entity.PermissionEntity;
import com.fc.advbox.entity.RoleEntity;

import java.util.List;
import java.util.Map;
import java.util.Set;

public interface IPermService {
	
	PermissionEntity queryObject(Long permId);
	
	List<PermissionEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(PermissionEntity role);
	
	void update(PermissionEntity role);
	
	void deleteBatch(Long[] permIds);
}
